-
Notifications
You must be signed in to change notification settings - Fork 1.6k
update interactive samples in string.format #2553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
contributes to dotnet#2539 Relies on dotnet/samples#953 When possible, update the snippets to work as included snippets. Otherwise, turn off the interactive samples on those samples.
closing and reopening to start a new build |
A few samples weren't caught in the first PR. contributes to dotnet/dotnet-api-docs#2553
The latest build fixes are in dotnet/samples#957 |
A few samples weren't caught in the first PR. contributes to dotnet/dotnet-api-docs#2553
closing and reopening for a fresh build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This generally looks good, @BillWagner. Some comments:
- The invariant culture is still used instead of the user's culture. I think I would consider making some of the examples that depend on the user's culture non-interactive. For example, the currency formatting example uses the currency symbol for the invariant culture, which is likely to be mystifying:
There are two examples that depend on culture-specific currency symbols. Potentially, this applies to some of the date/time output examples as well, though using the invariant culture for them is less jarring. - The example on line 5270 consistently times out.
Thanks @rpetrusha I fixed the sample on line 5270. (One closing bracket should have been included that was not.) I disabled interactive on the currency examples. I left it on for the datetime ones though. |
contributes to #2539
Relies on dotnet/samples#953
When possible, update the snippets to work as included snippets.
Otherwise, turn off the interactive samples on those samples.
internal review link